package lib.bone.access.module.oss;

import lib.bone.access.module.oss.domain.NepuResearchFile;
import lib.bone.common.core.domain.ResponseDTO;
import lib.bone.common.service.BaseService;

import java.util.List;

public interface NepuResearchFileService extends BaseService<NepuResearchFile,String> {
    /**
     * 根据实体ID删除文件关联信息
     */
    void deleteEntityLink(String entityId);

    /**
     * 批量插入
     */
    public ResponseDTO saveList(List<NepuResearchFile> list);
    /**
     * 根据科研类型和ID查询
     */
    List<NepuResearchFile> getList(String researchType,String mapperId);
    /**
     * 批量绑定 文件
     */
    void batchBindFile(String serviceType,String serviceId,List<String> fileIds);
}
